package com.efast.dmom.mes.dao.entity;

import java.util.List;
import java.util.Map;

import com.efast.dmom.mes.dao.base.PlantModelBaseEntityDao;
import com.efast.dmom.mes.entity.WorkshopEntity;
public interface WorkShopDao extends PlantModelBaseEntityDao<WorkshopEntity>{

	WorkshopEntity getByCode(String workshopCode);

	List<WorkshopEntity> getWorkshopByPlantId(long plantId);
	
	int queryProductionLineById(Long id);
	
	List<Map<String,String>> getWorkshopCodeIdNameByPlantId(Long id);

}
